package eureka.provider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient     //注册到注册中心
@EnableDiscoveryClient  //服务发现
public class EurekaProvider {
    public static void main(String[] args) {
        SpringApplication.run(EurekaProvider.class, args);
    }
}
